package com.DHH.Controller.Api;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import java.util.Map;

/**
 * Created by 汪玉东 on 2017/8/6.
 */
@Controller
@RequestMapping("/api/lock/")
public class LockAPiConrolller {
   /* @Resource
    private ApiDeviceInfoMapper apiDeviceInfoMapper;*/
    @RequestMapping("notify")
    @ResponseBody
    public void lockNotify(Map<String,Object> parms){
        System.out.println(parms.toString());
    }

    @RequestMapping("do")
    @ResponseBody
    public void lockDo(String did){
        //deviceInfoMapper.
    }
}
